package com.machineapps.framework.util;

import java.text.MessageFormat;

public class Messages {

	public static String getFormattedString(String string, Object[] params) {
		MessageFormat formatter = new MessageFormat("");
		formatter.applyPattern(string);

		return formatter.format(params);
	}
}
